import request from '@/utils/request'

export function reportList(params) {
    return request({
      url: '/report/info/list',
      method: 'get',
      params: params
    })
  }

export function listSet(params) {
  return request({
    url: '/report/set/list',
    method: 'get',
    params: params
  })
}
// 查询数据集详细
export function getSet(id) {
  return request({
    url: '/report/set/' + id,
    method: 'get'
  })
}

// 新增数据集
export function addSet(data) {
  return request({
    url: '/report/set',
    method: 'post',
    data: data
  })
}

// 修改数据集
export function updateSet(data) {
  return request({
    url: '/report/set',
    method: 'put',
    data: data
  })
}

// 删除数据集
export function delSet(id) {
  return request({
    url: '/report/set/' + id,
    method: 'delete'
  })
}

// 删除数据集
export function delInfo(id) {
  return request({
    url: '/report/info/' + id,
    method: 'delete'
  })
}
